// 组件引入
import DictSelect from './components/DictSelect'
import InnerTable from './components/InnerTable';
import DraftDrawer from './components/DraftDrawer'
import Uploader from "@/custom/nepu/components/Uploader"
import LoginUserCell from '@/custom/nepu/components/LoginUserCell'

// JS 引入
import { queryOne as getUser } from '@/module/system/api/user'
import { createOne as createDraft } from '@/custom/nepu/api/draft'
import { mergeWith } from 'lodash-es'
// STORE 引入
import useUserStore from '@/store/modules/user'
const userStore = useUserStore()
// 表单定义
const formDefault = {
    id: undefined,
    paperDictId: undefined,
    paperTitle: undefined,
    fileIds: [],
    secondAuthorId: undefined,
    secondAuthor: undefined,
    firstAuthor: undefined,
    firstAuthorId: 0,
    signatureUnit: "东北石油大学",
    publicationDate: undefined,
    journalName: undefined,
    issueNumber: undefined,
    // 论文编码
    doi: undefined,
    chargeNumber: undefined,
    paperNumber: undefined,
}

export {
    Uploader,
    DictSelect,
    InnerTable,
    LoginUserCell,
    DraftDrawer,
    getUser,
    formDefault,
    createDraft,
    userStore,
    mergeWith
}